package com.bobo.service;

import com.bobo.pojo.Role;
import com.bobo.pojo.User;

import java.util.List;

public interface IRoleService {
    List<Role> query(Role role) throws Exception;

    Integer addRole(Role role) throws Exception;
    Role queryById(Integer id) throws Exception;
    Integer updateRole(Role role) throws Exception;

    Integer deleteRole(Integer id) throws Exception;
}
